package cn.ac.siom.query.dao;

import cn.ac.siom.query.vo.Media;

import java.sql.SQLException;
import java.util.List;

public interface IMediaDao extends IDAO<Integer,Media> {

    List<Media> find_page(Integer type,Integer rownum, Integer page_id) throws SQLException;
    Integer find_count(Integer type)throws SQLException;
    Integer find_countAll()throws SQLException;
    boolean insert(Media vo ) throws SQLException;
    boolean update(Media vo) throws SQLException;
    boolean delete(List<String> ids) throws SQLException;
    Media find_one(Integer id) throws  SQLException;
    List<Media> find_pageAll(Integer rownum, Integer page_id) throws SQLException;
    List find_photo() throws SQLException;
}
